import requests
import config

class VipAPI:
    def __init__(self):
        self.getTaglibByAge_url=config.YXY_BASEURL+"/yxy-vip-gateway/api/json/vip/getTaglibByAge"
        self.getTagContent_url=config.YXY_BASEURL+"/yxy-vip-gateway/api/json/vip/getTagContent"


    def getTaglibByAge(self,requrest_data):
        return requests.post(url=self.getTaglibByAge_url, data=requrest_data)

    def getTagContent(self,requrest_data):
        return requests.post(url=self.getTagContent_url,data=requrest_data)
